home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / shadebutton.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-09-07  |  650 b   |  31 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SHADEBUTTON_H
  8. #define SHADEBUTTON_H
  9.  
  10. #include <QToolButton>
  11. #include <QMenu>
  12. #include "scribusapi.h"
  13.  
  14. class SCRIBUS_API ShadeButton : public QToolButton
  15. {
  16.  
  17. Q_OBJECT
  18.  
  19. public:
  20.     ShadeButton(QWidget* parent);
  21.     ~ShadeButton() {};
  22.     QMenu *FillSh;
  23.     int getValue();
  24.     void setValue(int val);
  25.  
  26. private slots:
  27.     virtual void setShade(QAction *act);
  28. };
  29. #endif
  30.  
  31.